home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / address.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  1.8 KB  |  48 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-2]
  2. [C;6;B]        ADDRESS CODE or DATA or BSS <value>
  3. [7]Default: no addresses
  4. [J;1;N]
  5.   Only the commercial version will have this instruction \
  6. fully supported. Registred people will receive that version.
  7.  
  8.   This instruction defines an origin for the code, data \
  9. and BSS hunks. This is especially nice for those which \
  10. are making games, ROMs or Unix like links.
  11.   The memory requirements can not be taken in account in \
  12. this case.
  13.  
  14.   Each type of hunk is supposed to be unique. You can \
  15. use the SINGLE instructions for this purpose. Any data which \
  16. is read-only should be given within the CODE hunk. The \
  17. special instruction ONEDATA will suppress the BSS hunks \
  18. and link them within the data hunks. The special \
  19. instruction SINGLEHUNK will create one hunk of code. \
  20. No data neither BSS will exist in that last case.
  21.  
  22.   When several hunks exist, they are supposed to be one \
  23. after another into the resulting files. The address is \
  24. computed that way. One file is created per hunk, those \
  25. files receive the following extensions:
  26.       code:     <file name>.c<value>
  27.       data:     <file name>.d<value>
  28.       bss:      <file name>.b<value>
  29. where the <file name> is the destination file name and <value> \
  30. is the hunk number (in decimal.)
  31.   Note: because your compiler may move some hunks, the hunk \
  32. numbers might change from one link to another.
  33. [INDENT 4]
  34. [2]  ADDRESS CODE <value>
  35. [1]    Defines the absolute address where the code will be loaded.
  36.  
  37. [2]  ADDRESS DATA <value>
  38. [1]    Defines the absolute address where the data will be loaded.
  39.  
  40. [2]  ADDRESS BSS <value>
  41. [1]    Defines the absolute address where the BSS hunk will be loaded.
  42. [INDENT]
  43.   See also:
  44. [L;3][LINK addrall]            ADDRALL
  45. [LINK onedata]                ONEDATA
  46. [LINK single]                SINGLE
  47. [5; LINK about; GOTO address]        Become Registred
  48.